package com.basic.modules.ykf.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;

@Data
public class Personal4Excel {
    //分部客服
    @ExcelProperty(value = "分部客服")
    private String exNameLabel;
    //店铺名称
    @ExcelProperty(value = "店铺名称")
    private String shopName;
    //子账号名称
    @ExcelProperty(value = "子账号名称")
    private String accountName;
    //分摊底薪(元)
    @ExcelProperty(value = "分摊底薪(元)")
    private BigDecimal baseSalary;
    //开始日期
    @ExcelProperty(value = "开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String startDate;
    //结束日期
    @ExcelProperty(value = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;
    //工作天数(天)
    @ExcelProperty(value = "工作天数(天)")
    private int workDays;
    //底薪效益(元)
    @ExcelProperty(value = "底薪效益(元)")
    private BigDecimal baseProfit;
    //月销售额(元)
    @ExcelProperty(value = "月销售额(元)")
    private BigDecimal monthSalary;
    //提成比例(%)
    @ExcelProperty(value = "提成比例(%)")
    private BigDecimal commissionRatio;
    //提成效益(元)
    @ExcelProperty(value = "提成效益(元)")
    private BigDecimal commissionProfit;
    //效益合计(元)
    @ExcelProperty(value = "效益合计(元)")
    private BigDecimal sumProfit;
}
